#!/usr/bin/env python

"""
setup.py file for baboon file system.
"""

from distutils.core import setup, Extension


bfs_module = Extension(
	'_bfs',
	define_macros = [('COMPILE_FOR_PYTHON','1')],
	sources=['minifilesystem_wrap.c','filehandle.c', 'filesystemdata.c', 'folder.c', 'globals.c', 'hdi.c', 'inode.c', 'main.c', 'minifilesystem.c',  'path.c']
	)

setup (name = 'baboon filesytem',
       version = '1.0',
       author = 'Clement Bellot',
	   author_email = 'clementbellot@gmail.com',
       description = """A filesystem on a ramdisk.""",
	   url = 'http://code.google.com/p/simple-engine/',
       ext_modules = [bfs_module],
       py_modules = ["bfs"],
       )
